﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  schema="dbo"
                   assembly="OpenSda.Agilcont.Common.Data.Entities"
                   namespace="OpenSda.Agilcont.Common.Data.Entities"
                   default-lazy="false" default-cascade="none">
  <class name="PeriodoContable" table="common_Periodo_Contable">
    <id name="Identity" column="PeriodoContableId"  type="guid">
      <generator class="guid.comb"/>
    </id>

   
    <property name="Detalle" column="Detalle" type="String"  length="50"  not-null="false"/>
    <property name="EstaActivo" column="EstaActivo" type="boolean"   not-null="true"/>
   

    <many-to-one name="EmpresaRef" column="EmpresaId" class="OpenSda.Agilcont.Common.Data.Entities.Empresa, OpenSda.Agilcont.Common.Data.Entities" not-null="true" />

  </class>
</hibernate-mapping>